package com.jinghua.treatment.mapper;

import com.jinghua.treatment.entity.SysChineseMedical;
import com.jinghua.treatment.entity.SysChineseMedicalExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysChineseMedicalMapper {
    int countByExample(SysChineseMedicalExample example);

    int deleteByExample(SysChineseMedicalExample example);

    int deleteByPrimaryKey(Integer uuid);

    int insert(SysChineseMedical record);

    int insertSelective(SysChineseMedical record);

    List<SysChineseMedical> selectByExample(SysChineseMedicalExample example);

    SysChineseMedical selectByPrimaryKey(Integer uuid);

    int updateByExampleSelective(@Param("record") SysChineseMedical record, @Param("example") SysChineseMedicalExample example);

    int updateByExample(@Param("record") SysChineseMedical record, @Param("example") SysChineseMedicalExample example);

    int updateByPrimaryKeySelective(SysChineseMedical record);

    int updateByPrimaryKey(SysChineseMedical record);

    List searchMedical(@Param("key")  String key);

    List searchMedicalWithAreaCode(@Param("key")  String key,@Param("chargeAreaCode")  String chargeAreaCode);

}